package cn.edu.scau.cmil.shishuai.comprehensive.address.model;

import javax.xml.bind.annotation.XmlElement;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class Person {
	
	private StringProperty name;
	private StringProperty user;
	private StringProperty password;
	private StringProperty profess;
	private StringProperty classroom;
	private StringProperty label;
	
	private StringProperty score1;
	private StringProperty score2;
	private StringProperty score3;
	private StringProperty score4;
	private StringProperty score5;
	
	
	public Person() {
		this(null, null, null, null, null,null);
	}
	

	public Person(String user,String password,String name,String profess,String classroom,String label) {
		this.user = new SimpleStringProperty(user);
		this.password = new SimpleStringProperty(password);
		this.name = new SimpleStringProperty(name);
		this.profess = new SimpleStringProperty(profess);
		this.classroom = new SimpleStringProperty(classroom);
		this.label = new SimpleStringProperty(label);
		this.score1 = new SimpleStringProperty("0");
		this.score2 = new SimpleStringProperty("0");
		this.score3 = new SimpleStringProperty("0");
		this.score4 = new SimpleStringProperty("0");
		this.score5 = new SimpleStringProperty("0");
			
	}
	@XmlElement(name="User")
	public String getUser() {
		return user.get();
	}
	public void setUser(String user) {
		this.user = new SimpleStringProperty(user);
	}
	public StringProperty UserProperty() {
		return user;
	}
	@XmlElement(name="Password")
	public String getPassword() {
		return password.get();
	}
	public void setPassword(String Password) {
		this.password = new SimpleStringProperty(Password);
	}
	public StringProperty PasswordProperty() {
		return password;
	}
	@XmlElement(name="Name")
	public String getName() {
		return name.get();
	}
	public void setName(String Name) {
		this.name = new SimpleStringProperty(Name);
	}
	public StringProperty NameProperty() {
		return name;
	}
	@XmlElement(name="Profess")
	public String getProfess() {
		return profess.get();
	}
	public void setProfess(String profess) {
		this.profess = new SimpleStringProperty(profess);
	}
	public StringProperty ProfessProperty() {
		return profess;
	}
	@XmlElement(name="Classroom")
	public String getClassroom() {
		return classroom.get();
	}
	public void setClassroom(String Classroom) {
		this.classroom = new SimpleStringProperty(Classroom);
	}
	public StringProperty ClassroomProperty() {
		return classroom;
	}
	@XmlElement(name="Label")
	public String getLabel() {
		return label.get();
	}
	public void setLabel(String label) {
		this.label =new SimpleStringProperty(label);;
	}
	@XmlElement(name="score1")
	public String getScore1() {
		return score1.get();
	}
	public void setScore1(String score1) {
		this.score1 =new SimpleStringProperty(score1);;
	}
	public StringProperty Score1Property() {
		return score1;
	}
	@XmlElement(name="score2")
	public String getScore2() {
		return score2.get();
	}
	public void setScore2(String score2) {
		this.score2 =new SimpleStringProperty(score2);;
	}
	public StringProperty Score2Property() {
		return score2;
	}
	@XmlElement(name="score3")
	public String getScore3() {
		return score3.get();
	}
	public void setScore3(String score3) {
		this.score3 =new SimpleStringProperty(score3);;
	}
	public StringProperty Score3Property() {
		return score3;
	}
	@XmlElement(name="score4")
	public String getScore4() {
		return score4.get();
	}
	public void setScore4(String score4) {
		this.score4 =new SimpleStringProperty(score4);;
	}
	public StringProperty Score4Property() {
		return score4;
	}
	@XmlElement(name="score5")
	public String getScore5() {
		return score5.get();
	}
	public void setScore5(String score5) {
		this.score5 =new SimpleStringProperty(score5);;
	}
	public StringProperty Score5Property() {
		return score5;
	}

	

}
